home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
util
/
libs
/
DigNet_2_1.readme
< prev
next >
Wrap
Text File
|
1997-05-03
|
4KB
|
105 lines
Short: Easy ser network handle for games/progs
Author: kenny@bgnett.no (Kenneth "Kenny" Nilsen)
Uploader: kenny@bgnett.no (Kenneth "Kenny" Nilsen)
Version: 2.1
Type: util/libs
Replaces: util/libs/DigNet*
Requires: kickstart 2.0+
$VER: dignet.library 2.1 (12.03.97)
Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
All rights reserved.
NEWS: - Resource tracking ! Including debug tools that uses this feature.
- Great speed improvments on ReadNet()/WriteNet()/WriteString()
You no longer have to read/write bytes to get correct result,
the routines do it for you which increase the speed ~250%.
ReadString() still have to work the way it does.
- Buffer size now defaults to 8 KB buffer instead of 2 KB.
- Stupid bugs on the ReadString()/WriteString(). Fixed!
CHANGES: - ReadString() now returns -1 instead of 1 if buffer overflow!
- Cleaned up the autodoc for types/explinations.
Includes a simple terminal program that uses the dignet.library and take
advantages of the speed improvments in 2.1+. Source and binary included!
----------------------------------------------------------------------------
INTRODUCTION
Always wanted to make games or programs that could support serial network ?
This will maybe be the solution for you. This library will do all the dirty
work for you. All you need to do is to call read and write functions to
communicate. No more hustling with setting up structures, ports and pools
to use the device. No more DoIO.
Tested with duart.device 0 and 1 with nullmodem-cable. Tested agains modem.
Should work fine with serial.device and compatible devices. Do not use with
other devices such as trackdisk.device etc.
The library functions are fully re-entrant.
IMPORTANT:
Read the autodoc section /---background--- and ---notes--- for important
notes!
Developer files for assembler and C included. Notify me if the C includes
are incomplete, I am not a C guru at all (assembler is fine though ;)
This is version 2.1 (still beta). Let me know if you find bugs.
Email me for bugs or comments. I am happy to receive ideas.
TODO:
- SetBaud() function to easily change the baud rate.
- Error code on what type of error (out of memory, device couldn't be opened,
couldn't allocate port etc.)
IDEAS:
- Functions for modem > sending ATZ/ATDT, parsing OK/RING/CONNECT/NO CARRIER
etc. Let me know what you think.
- Resource tracker for program using the library (clean up device(s) if
program crashes)
Regards,
---
#*Kenny*# mailto:kenny@bgnett.no ''"\./"`` http://www.bgnett.no/~kenny/
Developer/GM Digital Surface (opinions by me are my own!)
---
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1680 960 42.8% 12-Mar-97 12:08:36 +dignet.library
17664 5846 66.9% 12-Mar-97 11:55:48 +dignet.doc
560 268 52.1% 09-Mar-97 09:46:46 +dignet_lib.fd
413 266 35.5% 12-Mar-97 13:20:28 +dignet.h
368 257 30.1% 12-Mar-97 13:20:54 +dignet.i
247 144 41.7% 09-Mar-97 09:46:40 +dignet_lib.i
1646 445 72.9% 09-Mar-97 09:53:48 +dignet_lib.h
181 128 29.2% 25-Feb-97 14:52:34 +dignet.h
2524 1499 40.6% 12-Mar-97 12:54:42 +DignetKILL
2500 1308 47.6% 12-Mar-97 13:24:58 +DigNet_2.1.readme
2096 1210 42.2% 12-Mar-97 12:05:36 +DignetTERM
3074 1129 63.2% 15-Dec-96 12:22:46 +Digital.macs
7665 2915 61.9% 12-Mar-97 12:05:34 +DignetTerm.asm
6895 2270 67.0% 08-Jan-97 15:01:54 +Startup.asm
2345 1155 50.7% 12-Mar-97 13:23:12 +CSAA.txt
1914 963 49.6% 12-Mar-97 13:15:56 +DignetDebug.doc
1764 1017 42.3% 12-Mar-97 13:08:04 +DignetLIST
-------- ------- ----- --------- --------
53536 21780 59.3% 13-Mar-97 16:08:54 17 files